﻿using DevExpress.LookAndFeel;
using DevExpress.Utils;
using DevExpress.XtraEditors;

namespace DevUIUtils
{
    public abstract class ProgramInitStyle
    {
        public static void Init()
        {
            WindowsFormsSettings.AllowRoundedWindowCorners = DefaultBoolean.True;
            WindowsFormsSettings.AllowDpiScale = true;
            WindowsFormsSettings.TouchUIMode = TouchUIMode.Default;
            WindowsFormsSettings.UseDXDialogs = DefaultBoolean.True;
            WindowsFormsSettings.UseUIAutomation = DefaultBoolean.True;
            WindowsFormsSettings.AnimationMode = AnimationMode.EnableLimited;
        }
    }
}
